﻿   img {
   margin-right: 0px !important;
   paddin-bottom: 0px !important;
   }
   h1 {
   color: blue;
   text-align: center;
   font-style: italic;
   font-weight: bold;
   }
  .tabs {
  width: 100%;
  height: 600px;
  margin-bottom: 10px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
    }
 .tabs__caption {
  margin-top: 1em;
  padding: 0px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 6%;
     }
 .tabs__caption li {
  list-style-type: none; 
  display: inline-block;
  cursor: pointer;
  margin-left: .8em;
  transition: all 0.3s linear;
  }
  .tabs__caption li.active {
  -webkit-transform:scaleX(1.05) scaleY(1.15);
  -moz-transform:scaleX(1.05) scaleY(1.15);
  -ms-transform:scaleX(1.05) scaleY(1.15);
  -o-transform:scaleX(1.05) scaleY(1.15);
  transform:scaleX(1.05) scaleY(1.15);
  box-shadow: 3px 3px 2px 3px grey;
  }
  .tabs__caption li.active img {
  -webkit-transform:scaleX(1.05) scaleY(1.15);
  -moz-transform:scaleX(1.05) scaleY(1.15);
  -ms-transform:scaleX(1.05) scaleY(1.15);
  -o-transform:scaleX(1.05) scaleY(1.15);
  transform:scaleX(1.05) scaleY(1.15);
  }
    .tabs__content {
   list-style-type: none; 
   width: 740px;
   position: absolute;
   top: 0;
   left: 0;
   opacity: 0;
   transition: all 0.4s linear;
   }
   .tabs__content:nth-child(odd) {
   -webkit-transform:translateY(-600px) translateX(-730px);
   -moz-transform:translateY(-600px) translateX(-730px);
   -ms-transform:translateY(-600px) translateX(-730px);
   -o-transform:translateY(-600px) translateX(-730px);
   transform: translateY(-600px) translateX(-730px);
   }
   .tabs__content:nth-child(even) {
   -webkit-transform:translateY(600px) translateX(730px);
   -moz-transform:translateY(600px) translateX(730px);
   -ms-transform:translateY(600px) translateX(730px);
   -o-transform:translateY(600px) translateX(730px);
   transform: translateY(600px) translateX(730px);
   }
    .tabs__content.active {
   opacity: 1;
   transform: translateX(0);
   -webkit-transform:translate(0px);
  -moz-transform:translate(0px);
  -ms-transform:translate(0px);
  -o-transform:translate(0px);
   }
  h2 {
  color: blue;
  text-align: center;
  }
  h3:not (.layover) {
  color: blue;
  text-align: center;
  }
      .layover {
    display:inline-block;   
    position:relative;
    }
     .layover h3 {
     color: blue;
     font-size: 18px;
     text-align: center;
     margin-top: 0px;
     }      
    .layover span {
    display:inline-block;
    position: absolute;
    width: 45%;
    bottom: 5px;
    top: 38px;   
    left: 0px;      
    /* Фон */
    background-color: rgba(255, 255, 255, 0.85);
    border-right: 3px solid ivory;
    }
    .layover ul {
    margin-top: 0px;
    padding-left: 15px;
    }
    .layover ul li {
     color: #ae851e;
    font-family: SangBleuBPSans-Light, helvetica, arial, sans-serif;
    font-weight: bold;
    padding-right: 20px;
    text-align: left;
    }
    .layover ul li:not(:first-child) {
    margin-top: 10px;
    } 
    .layover_right{
    display:inline-block;   
    position:relative;
    }
     .layover_right h3 {
     color: blue;
     font-size: 18px;
     text-align: center;
     margin-top: 0px;
     }      
    .layover_right span {
    display:inline-block;
    position: absolute;
    width: 45%;
    bottom: 5px;
    top: 38px;   
    right: 0px;      
    /* Фон */
    background-color: rgba(255, 255, 255, 0.85);
    border-left: 3px solid ivory;
    }
    .layover_right ul {
    margin-top: 0px;
    padding-left: 15px;
    }
    .layover_right ul li {
     color: #ae851e;
    font-family: SangBleuBPSans-Light, helvetica, arial, sans-serif;
    font-weight: bold;
    padding-right: 20px;
    text-align: left;
    }
    .layover_right ul li:not(:first-child) {
    margin-top: 10px;
    } 
    .internal_link {
    font-style: italic;
    font-weight: bold;
    }
     .sliderB {
        width: 730px;
        height: 445px;
        position: relative;
        overflow: hidden;
        text-align: center;
    }

    .sliderB > input {
        display: none;
    }

    .sliderB > label {
        display: none;
    }

    .sliderB > input:checked + div + label,
    .sliderB > input:checked + div + label + label {
        display: block;
        width: 80px;
        height: 80px;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
        border-radius: 40px;
        background-color: rgba(120, 120, 255, 0.7);
    }

    .sliderB > input:checked + div + label:after,
    .sliderB > input:checked + div + label + label:after {
        font-size: 30px;
        color: #fff;
        display: block;
        position: absolute;
        top: 0px;
        bottom: 0px;
        line-height: 80px;
    }

    .sliderB > input:checked + div + label {
        left: -40px;
    }

    .sliderB > input:checked + div + label:after {
        content: '◀';
        left: 55%;
    }

    .sliderB > input:checked + div + label + label {
        right: -40px;
    }

    .sliderB > input:checked + div + label + label:after {
        content: '▶';
        right: 55%;
    }

    .sliderB > div {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        z-index: 0;
    }

    .sliderB > div {
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0.9s;
    }

    .sliderB > input:checked + div {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.8s ease-out 0.1s, visibility 0.1s ease-out 0s;
    }

    .sliderB > div > p {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        text-align: center;
        color: blue;
        font-size: 1.5em;
        background: rgba(204, 204, 204, 0.67);
    }
    }
    #button-example {
        width: 400px;
        height: 250px;
        border: 1px solid #888;
        position: relative;
        overflow: hidden;
    }

    #button-example > div {
        width: 80px;
        height: 80px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    #button-example > div:after {
        font-size: 30px;
        color: #fff;
        display: block;
        position: absolute;
        top: 0px;
        bottom: 0px;
        line-height: 80px;
    }

    #button-example > div:first-child {
        left: -40px;
    }

    #button-example > div:first-child:after {
        content: '◀';
        left: 55%;
    }

    #button-example > div:last-child {
        right: -40px;
    }

    #button-example > div:last-child:after {
        content: '▶';
        right: 55%;
    }